<template>
  <a-result status="404" title="404" sub-title="抱歉,你找的页面丢失了~">
    <template #extra>
      <a-button type="primary" @click="goBack">返回首页</a-button>
    </template>
  </a-result>
</template>
<script>
import { useRouter } from 'vue-router'
export default {
  setup() {
    const router = useRouter()
    const goBack = () => {
      router.push('/content')
    }
    return {
      goBack,
      router,
    }
  },
}
</script>
